package com.panshi.api;


import com.panshi.util.CommonResult;
import com.panshi.bean.DynamicVO;
import com.panshi.bean.PageSizeVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient(value = "zhangkai")
@Api("动态接口")
public interface DynamicPoth {

    @PostMapping("/dyQu")
    @ResponseBody
    public List<DynamicVO> findDyQuery(@RequestBody PageSizeVO pageSizeVO);

    //删除动态表
    @GetMapping("/dyDe/{did}")
    @ResponseBody
    public CommonResult<String> deleteDy(@PathVariable int did);

}

